<!DOCTYPE html>
<html>
<head>
  <title>新增用户</title>
  <meta charset="UTF-8"/>
  <script src="/js/jquery-3.2.js"></script>
  <link rel="stylesheet" type="text/css" href="/css/mygoodsshelf.css"/>
  <link rel="stylesheet" type="text/css" href="/css/upload.css"/>
  <script>
    $(function ()
    {
      $("#submit").click(function ()
      {
        var password = $("#password").val();
        var rePassword = $("#rePassword").val();


        if(password !== rePassword)
        {
          alert("两次密码输入不一致");
          window.event.returnValue=false;

        }
      })
    })
  </script>

</head>
<body>
<!-- 导航条 -->
<nav class="navbar">
  <div class="nav-menu">
    <ul class="menu">
      <li><a href="/">首页</a></li>
      <li><a href="/goToMallPage.do">二手商品</a></li>
    </ul>
  </div><!-- nav-menu -->

  <!--	<form class="nav-search">-->
  <!--		<input type="search" class="searchIn" placeholder="搜二手商品..."/>-->
  <!--		<button class="search-logo"><img src="/image/search.png"/></button>-->
  <!--	</form>-->

  <!--	<div class="nav-info">-->
  <!--		<a href="../information.html" class="username">用户</a>-->
  <!--		<a href="../cart.html" class="goodsshelf">||&nbsp;&nbsp;&nbsp;我的购物车</a>-->
  <!--		<a href="/" class="logout">[ 退 出 ]</a>-->
  <!--	</div> &lt;!&ndash; nav-info-end &ndash;&gt;-->
</nav>

<div class="titleName">
  <h3>输入新增用户信息</h3>
</div>

<div class="container">
  <form action="/submitNewUser.do" method="post">
    <!--		<p>-->
    <!--			<span class="pic-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>-->
    <!--			用户头像&nbsp;： <input type="file" name="goods-pic" id="goods-file">-->
    <!--			<img id="goods-pic" src="image/ran3.jpg">-->
    <!--		</p><br/>-->
    <input type="hidden" th:value="${token}" class="token" name="token"/>
    <p>
      <span class="name-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      学&nbsp;&nbsp;&nbsp;号&nbsp;：<input type="text" name="sNum"/>
    </p><br/>
    <p>
      <span class="name-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      用&nbsp;&nbsp;户&nbsp;&nbsp;名：<input type="text" name="Uname"/>
    </p><br/>

    <p>
      <span class="number-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      密&nbsp;&nbsp;&nbsp;码&nbsp;：<input id="password" type="password" name="Password"/>
    </p><br/>
    <p>
      <span class="desc-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      确认密码：<input id="rePassword" type="password" name="rePassword"/>
    </p><br/>
    <p>
      <span class="name-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      邮&nbsp;&nbsp;&nbsp;箱&nbsp;：<input type="text" name="Email"/>
    </p><br/>
    <p>
      <span class="desc-icon">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      联系电话：<input type="text" name="PhoneNum"/>
    </p><br/>
    <input id="submit" type="submit" class="submit-btn" name="goods-submit"/>
  </form>
</div>
<footer>
  <a href="#">©2021-7 二手物品交易</a>
  <a href="#">意见反馈&nbsp;&nbsp;&nbsp;联系我们&nbsp;&nbsp;&nbsp;隐私权声明&nbsp;&nbsp;&nbsp;使用条款</a>
</footer>
<!--<script type="text/javascript" src="js/jquery-3.2.js"></script>-->
<!--<script type="text/javascript">-->
<!--	$(function(){-->
<!--		$("#goods-file").change(function(){-->
<!--			var filePath = $(this).val().split("\\");-->
<!--			var len = filePath.length;-->
<!--			var file = filePath[len-1];-->
<!--			if (!file) {-->
<!--				filePath = "image/loadPic.png"-->
<!--			}-->
<!--			filePath = "image/"+file;-->
<!--			// console.log(filePath);-->
<!--			$("#goods-pic").attr("src",filePath);-->

<!--		})-->
<!--	});-->
<!--</script>-->
</body>
</html>